package com.yeyks.consumer.service;

import com.yeyks.consumer.dal.domain.MemberCardDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyks.consumer.param.UserMemberCard.UserMemberCardDetailListParam;

import java.util.List;


/**
 * <p>
 * 余额明细 服务类
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
public interface MemberCardDetailService extends IService<MemberCardDetail> {

    /**
     * 创建余额详情
     *
     * @param detail
     * @return
     */
    Integer insert(MemberCardDetail detail);

    /**
     * 分页获取详情
     *
     * @param loginUser
     * @param pageNo
     * @param pageSize
     * @return
     */
    List<MemberCardDetail> list(UserMemberCardDetailListParam param);


}
